<!-- apps/frontend/modules/job/templates/_list.atom.php -->
<?php use_helper('Text') ?>
 
<?php foreach ($filys as $fily): ?>
  <entry>
    <title><?php echo $fily->getName() ?> (<?php echo $fily->getCategory() ?>)</title>
    <link href="<?php echo url_for('download_show', $fily, true) ?>" />
    <id><?php echo sha1($job->getId()) ?></id>
      <updated><?php echo gmstrftime('%Y-%m-%dT%H:%M:%SZ', $job->getDateTimeObject('created_at')->format('U')) ?></updated>
    <summary type="xhtml">
     <div xmlns="http://www.w3.org/1999/xhtml">
       <?php if ($fily->getUrlImage()): ?>
           <div>
             
               <img src="$fily->getUrlImage()"
                 alt="<?php echo $fily->getLabel() ?> logo" />
             </a>
           </div>
         <?php endif ?>
 
       <div>
         <?php echo simple_format_text($fily->getSynopsis()) ?>
       </div>
 
       <h4>Trailer</h4>
 
         <p><?php echo $fily->getTrailer() ?></p>
       </div>
      </summary>
      <author>
        <name><?php echo $job->getLanguage() ?></name>
      </author>
    </entry>
<?php endforeach ?>